package com.zsrt.bbu.card.entity;


/**
 * CREATE TABLE `bbu_card_t` (
  `ID` int(11) NOT NULL AUTO_INCREMENT COMMENT 'PK',
  `CARD_NO` varchar(32) DEFAULT NULL COMMENT '卡号',
  `CHIP` char(1) DEFAULT NULL COMMENT '有无芯片  ''1''代表有  ''0''代表没有',
  `BALANCE` double(10,2) DEFAULT NULL COMMENT '余额',
  `OWNER` varchar(32) DEFAULT NULL COMMENT '银行卡持有人',
  `BANK_ID` int(11) DEFAULT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
 * @author zsrt
 *
 */
public class CardEntity {
	
	/**
	 * PK
	 */
	private Integer  id;
	
	/**
	 * 卡号
	 */
	private String   cardNo;
	
	/**
	 * 有无芯片  '1'代表有  '0'代表没有
	 */
	private String   chip;
	
	private String  chipName;
	
	/**
	 * 余额
	 */
	private Double   balance;
	
	
	/**
	 * 银行卡持有人
	 */
	private String   owner;
	
	
	/**
	 * 银行id
	 */
	private Integer  bankId;
	
	
	
	//以下非数据库字段
	private String bankName;
	
	
	
	
	
	
	public String getChipName() {
		return chipName;
	}
	public void setChipName(String chipName) {
		this.chipName = chipName;
	}
	public String getBankName() {
		return bankName;
	}
	public void setBankName(String bankName) {
		this.bankName = bankName;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getCardNo() {
		return cardNo;
	}
	public void setCardNo(String cardNo) {
		this.cardNo = cardNo;
	}
	public String getChip() {
		return chip;
	}
	public void setChip(String chip) {
		this.chip = chip;
	}
	public Double getBalance() {
		return balance;
	}
	public void setBalance(Double balance) {
		this.balance = balance;
	}
	public String getOwner() {
		return owner;
	}
	public void setOwner(String owner) {
		this.owner = owner;
	}
	public Integer getBankId() {
		return bankId;
	}
	public void setBankId(Integer bankId) {
		this.bankId = bankId;
	}
	
	

}
